package com.houseService.users.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.houseService.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.houseService.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 用户对象 users
 *
 * @author LiuChunlin
 * @date 2025-03-18
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class Users extends BaseEntity {
    /**
     * 用户id
     */
    private String id;

    /**
     * 用户名
     */
    @Excel(name = "用户名")
    private String username;

    /**
     * 密码
     */
    @Excel(name = "密码")
    private String password;

    /**
     * 真实姓名
     */
    @Excel(name = "真实姓名")
    private String realName;

    /**
     * 性别
     */
    @Excel(name = "性别")
    private String gender;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 头像URL
     */
    @Excel(name = "头像URL")
    private String avatar;

    /**
     * 账户余额
     */
    @Excel(name = "账户余额")
    private BigDecimal balance;

    /**
     * 状态: 0-禁用, 1-正常
     */
    @Excel(name = "状态: 0-禁用, 1-正常")
    private Long status;

    /**
     * 最后登录时间
     */
    private Date lastLoginTime;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;

}
